package com.slim.service.serviceimpl;

import org.appfuse.model.Deliverables;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.slim.dao.DeliverablesDao;
import com.slim.service.GenericService;

/*     */
/*     */@Service("genericServiceImpl")
public class GenericServiceImpl implements GenericService {
	
	private DeliverablesDao deliverablesDaoServiceImpl;

	public Deliverables loadDeliverablesByProjectId(Long projectId) {
		Deliverables deliverables = deliverablesDaoServiceImpl
				.loadDeliverablesByProjectId(projectId);
		return deliverables;
	}
	
	public Deliverables saveDeliverables(Deliverables paramDeliverables) {
		Deliverables deliverables = deliverablesDaoServiceImpl.save(paramDeliverables);
		return deliverables;
	}

	/**
	 * @return the deliverablesDaoServiceImpl
	 */
	
		public DeliverablesDao getDeliverablesDaoServiceImpl() {
		return deliverablesDaoServiceImpl;
	}

	/**
	 * @param deliverablesDaoServiceImpl
	 *            the deliverablesDaoServiceImpl to set
	 */
		@Autowired
	public void setDeliverablesDaoServiceImpl(
			DeliverablesDao deliverablesDaoServiceImpl) {
		this.deliverablesDaoServiceImpl = deliverablesDaoServiceImpl;
	}

	

}
